package com.toune.movie.mvp.presenter;


import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.activity.ComicVideoActivity;
import com.toune.movie.mvp.contract.ComicVideoContract;
import com.toune.movie.mvp.model.ComicVideoModel;
import com.toune.movie.vo.VarietyVo;

import java.util.List;

/**
 * Created by Administrator on 2018/5/15.
 */

public class ComicVideoPresenter extends BasePresenterImpl<ComicVideoActivity> implements ComicVideoContract.Presenter {
    ComicVideoModel tvVideoModel = new ComicVideoModel(this);

    @Override
    public void setVideoList(List<VarietyVo> videoList) {
        mView.setVideoList(videoList);
    }

    @Override
    public void setHeaderVos(List<VarietyVo> varietyVos) {
        mView.setHeaderVos(varietyVos);
    }

    @Override
    public void getVideoList(String url) {
        tvVideoModel.getVideoList(url);
    }
}
